<?php
$regionID = $_POST['region_id'];
$countryID = $_POST['country_id'];
$userID = $_SESSION['auth'];

include "inc_/sup3rs3cr3tt3xt4m3t0kn0vv.php";
$mysqli = new mysqli($host, $user, $password, $database);
if (mysqli_connect_errno()) {
	printf("Connect failed: %s\n", mysqli_connect_error());
	exit();
}

$sql = "INSERT INTO user_region(user_id, region_id) VALUES('$userID', '$regionID')";
$mysqli->query($sql);
?>